package com.xjrh.traintravel.collector.api.param;

import com.xjrh.common.core.domain.BaseEntity;

/**
 * 设备（目前只有：主机）
 *  <p>
 *      对应数据表：t_equipment
 *  </p>
 *
 * @author snps
 * @create 2022-02-21 11:20
 * @describe
 **/
public class Equipment extends BaseEntity {

    private static final long serialVersionUID = 5972779074402892707L;


    /**
     * ID
     */
    private Long id;

    /**
     * 租户ID
     */
    private Long tenantId;

    /**
     * 设备类型ID
     */
    private Long equipmentTypeId;

    /**
     * 设备类型名称
     */
    private String equipmentTypeName;

    /**
     * 设备名称
     */
    private String name;

    /**
     * 设备Mac地址
     */
    private String macAddr;

    /**
     * 软件版本
     */
    private String version;

    /**
     * 网络状态
     *      1-在线
     *      0-离线
     */
    private Integer netStatus;

    /**
     * 线路编号
     */
    private String lineNo;

    /**
     * 列车编号
     */
    private String trainNo;

    /**
     * 车厢编号
     */
    private String carriageNo;

    /**
     * 状态
     *      1-启用
     *      0-禁用
     */
    private Integer status;

    /**
     * 删除标记
     *      1-已删除
     *      0-未删除
     */
    private Integer delFlag;


    /**************************************************
     * Getter and Setter
     */
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }

    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }

    public String getEquipmentTypeName() {
        return equipmentTypeName;
    }

    public void setEquipmentTypeName(String equipmentTypeName) {
        this.equipmentTypeName = equipmentTypeName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMacAddr() {
        return macAddr;
    }

    public void setMacAddr(String macAddr) {
        this.macAddr = macAddr;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getNetStatus() {
        return netStatus;
    }

    public void setNetStatus(Integer netStatus) {
        this.netStatus = netStatus;
    }

    public String getLineNo() {
        return lineNo;
    }

    public void setLineNo(String lineNo) {
        this.lineNo = lineNo;
    }

    public String getTrainNo() {
        return trainNo;
    }

    public void setTrainNo(String trainNo) {
        this.trainNo = trainNo;
    }

    public String getCarriageNo() {
        return carriageNo;
    }

    public void setCarriageNo(String carriageNo) {
        this.carriageNo = carriageNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

}